package com.woniu.maintain.Feign;

import com.woniu.common.utils.ResultVO;
import com.woniu.maintain.Feign.impl.JpDepartmentServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 啊川
 * @version 1.0
 * @date 2021/9/17 15:43
 * @QQ 836782490
 * @content:
 */
@FeignClient(value = "jp-department",fallback = JpDepartmentServiceImpl.class)
public interface JpDepartmentService {
    @GetMapping("Department/findAll")
    ResultVO findAllDepartment();
}
